package com.ssy.lingxi.pay.model.vo.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import javax.validation.constraints.PositiveOrZero;
import java.io.Serializable;

/**
 * 获取授信申请详情VO
 * @author 伍将
 * @date 2020/10/27
 * @version 2.0.0
 */
public class CreditApplyGetDetailVO implements Serializable {
    private static final long serialVersionUID = -66041836060440487L;

    /**
     * 授信id
     */
    @NotNull(message = "授信id大于0")
    @Positive(message = "授信id大于0")
    private Long creditId;

    /**
     * 申请id
     */
    @NotNull(message = "授信申请id大于等于0")
    @PositiveOrZero(message = "授信申请id大于等于0")
    private Long applyId;

    public Long getCreditId() {
        return creditId;
    }

    public void setCreditId(Long creditId) {
        this.creditId = creditId;
    }

    public Long getApplyId() {
        return applyId;
    }

    public void setApplyId(Long applyId) {
        this.applyId = applyId;
    }

}
